<?php
	class loainguoidungbs
	{
		public $MaLoaiNguoiDung = 0;
		public $TenLoaiNguoiDung = "";
		public $MoTa = "";
		
		public function Add()
		{
			$db = new loainguoidungdb();
			return $db->Add($this->TenLoaiNguoiDung, $this->MoTa);
		}
		
		public function Delete()
		{
			$db = new loainguoidungdb();
			return $db->Delete($this->MaLoaiNguoiDung);
		}
		
		public function Update()
		{
			$db = new loainguoidungdb();
			return $db->Update($this->MaLoaiNguoiDung, $this->TenLoaiNguoiDung, $this->MoTa);
		}
	
		public function GetList()
		{
			$db = new loainguoidungdb();
			return $db->GetList($this->MaLoaiNguoiDung, $this->TenLoaiNguoiDung, $this->MoTa);
		}
		
	}
?>